package com.ck.datacenter.scan.controller;

import com.ck.datacenter.itf.CkInterfaceTesta;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "自定义扫描测试类")
@RestController
@RequestMapping("/scan")
public class ScanController {

    @Autowired
    private CkInterfaceTesta ckInterfaceTesta;

    @ApiOperation("测试方法test")
    @RequestMapping(path = "/test", method = RequestMethod.GET)
    public void test() {
        ckInterfaceTesta.test("22");
        ckInterfaceTesta.test2("22");
    }

}
